package main

import (
	"fmt"
)

func fint(a int) {
	a = 10
}
func fint1(a *int) {
	*a = 10
}
func main() {
	var a = 0
	fmt.Println(a)
	fint(a)
	fmt.Println(a)
	fint1(&a)
	fmt.Println(a)
}
